/*
 * Copyright (c) 2021. Moses All Right Reserved
 */

package com.moses.design_patterns.builder.abstract_builder;

/**
 * @author Moses
 * @email shenhuohui@gmail.com
 * @date 2021/4/10 11:43
 */
public class ProductABuilder extends AbstractBuilder {
    ProductA productA = new ProductA();

    @Override
    public void set() {
        productA.setAprop1(43);
        productA.setAprop2(3.3);
        productA.setProp1(34);
    }

    @Override
    public AbstractProduct build() {
        return productA;
    }
}
